//
//  OADLazyGetter2ViewController.m
//  OASDK_Works
//
//  Created by ChenJie on 3/23/20.
//  Copyright © 2020 Mist. All rights reserved.
//

#import "OADLazyGetter2ViewController.h"
#import "OASDK.h"

@interface OADLazyGetter2ViewController ()

@property (nonatomic, strong) UIView *aView;

@end

@implementation OADLazyGetter2ViewController

#pragma mark - ViewController lifecycle

- (instancetype)init {
    self = [super init];
    if (self) {
    }
    return self;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    //
    self.view.backgroundColor = [UIColor whiteColor];
    self.navigationItem.title = NSStringFromClass(self.class);
    
    //
}

- (void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];
}

- (void)viewDidAppear:(BOOL)animated {
    [super viewDidAppear:animated];
}

- (void)viewWillDisappear:(BOOL)animated {
    [super viewWillDisappear:animated];
}

- (void)viewDidDisappear:(BOOL)animated {
    [super viewDidDisappear:animated];
}

- (void)viewWillLayoutSubviews {
    [super viewWillLayoutSubviews];
}

- (void)viewDidLayoutSubviews {
    [super viewDidLayoutSubviews];
    
    //
}

- (UIStatusBarStyle)preferredStatusBarStyle {
    return UIStatusBarStyleLightContent;
}

#pragma mark - Public methods



#pragma mark - Private methods



#pragma mark - Event response methods

- (void)buttonClicked:(UIButton *)button {
    NSLog(@"button clicked...");
}

#pragma mark - Deletate methods



#pragma mark - Setter



#pragma mark - Getter

//OAGetUIView(aView) = ^(UIView *view){
//    view.layer.borderColor = OARandomColor().CGColor;
//    view.layer.borderWidth = 5;
//};

#pragma mark - Memory management

- (void)dealloc {
}

@end
